package com.dm.dao;

import com.dm.pojo.DmBaseImage;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface DmBaseImageMapper {

	public DmBaseImage getDmBaseImageById(@Param(value = "id") Long id)throws Exception;

	public List<DmBaseImage>	getDmBaseImageListByMap(Map<String, Object> param)throws Exception;

	public Integer getDmBaseImageCountByMap(Map<String, Object> param)throws Exception;

	public Integer insertDmBaseImage(DmBaseImage dmBaseImage)throws Exception;

	public Integer updateDmBaseImage(DmBaseImage dmBaseImage)throws Exception;

	public Integer deleteDmBaseImageById(@Param(value = "id") Long id)throws Exception;

	public Integer batchDeleteDmBaseImage(Map<String, List<String>> params);

}